﻿<%@ Register TagPrefix="wssuc" TagName="ToolBar" Src="~/_controltemplates/ToolBar.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="ToolBarButton" Src="~/_controltemplates/ToolBarButton.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormSection" Src="~/_controltemplates/InputFormSection.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormControl" Src="~/_controltemplates/InputFormControl.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="ButtonSection" Src="~/_controltemplates/ButtonSection.ascx" %>
<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UserView.aspx.cs" Inherits="AIS.SharePoint.AspNetFBA.Layouts.AIS.SharePoint.AspNetFBA.UserEdit" DynamicMasterPageFile="~masterurl/default.master" %>

<asp:Content ID="PageHead" ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">
    <script type="text/javascript">
        function confirmAction(message) {
            var val = confirm(message);
            if (val) { var nid = SP.UI.Notify.addNotification( <asp:Literal runat="server" Text="<%$Resources:AIS.SharePoint.AspNetFBA,Page_UserView_ProcessingNotification%>" />, true); }
            return val;
        }
    </script>

</asp:Content>

<asp:Content ID="Main" ContentPlaceHolderID="PlaceHolderMain" runat="server">
    <wssuc:ToolBar ID="ToolBar1" runat="server">
        <Template_Buttons>
            <wssuc:ToolBarButton ID="btnUserEdit" runat="server" ImageUrl="_layouts/images/edititem.gif" Text="<%$Resources:AIS.SharePoint.AspNetFBA,Page_UserView_btnUserEdit_Text%>" OnClick="btnUserEdit_Click"/>     
            <wssuc:ToolBarButton ID="btnPasswordReset" runat="server" ImageUrl="_layouts/images/checknames.gif" Text="<%$Resources:AIS.SharePoint.AspNetFBA,Page_UserView_btnPasswordReset_Text%>" OnClick="btnPasswordReset_Click" OnClientClick="<%$Resources:AIS.SharePoint.AspNetFBA,Page_UserView_btnPasswordReset_Confirmation%>"/>     
            <wssuc:ToolBarButton ID="btnUnlockUser" runat="server" ImageUrl="_layouts/images/checknames.gif" Text="<%$Resources:AIS.SharePoint.AspNetFBA,Page_UserView_btnUnlockUser_Text%>" OnClick="btnUnlockUser_Click" />     
            <wssuc:ToolBarButton ID="btnViewSharePoint" runat="server" ImageUrl="_layouts/images/gbwapset.gif" Text="<%$Resources:AIS.SharePoint.AspNetFBA,Page_UserView_btnViewSharePoint_Text%>" OnClick="btnViewSharePoint_Click"/>     
            <wssuc:ToolBarButton ID="btnUserDelete" runat="server" ImageUrl="_layouts/images/delitem.gif" Text="Delete User" OnClick="btnUserDelete_Click" OnClientClick="<%$Resources:AIS.SharePoint.AspNetFBA,Page_UserView_btnUserDelete_Confirmation%>"/>     
        </Template_Buttons>
    </wssuc:ToolBar>

    <b><asp:Label runat="server" ID="lblOperationResult" Text = "" /></b>

    <table width="600" border="0" cellspacing="0" cellpadding="0" class="ms-propertysheet">

        <wssuc:InputFormSection runat="server" Padding="false">
            <Template_Title>
                <asp:Literal ID="Literal1" runat="server" Text="<%$Resources:AIS.SharePoint.AspNetFBA,Page_UserView_UserName_Title%>" />
            </Template_Title>
            <Template_InputFormControls>
                <wssuc:InputFormControl ID="InputFormControl1" runat="server">
                    <Template_Control>
                        <asp:Label runat="server" ID="lblUserName" />
                    </Template_Control>
                </wssuc:InputFormControl>
            </Template_InputFormControls>
        </wssuc:InputFormSection>

        <wssuc:InputFormSection runat="server" Padding="false">
            <Template_Title>
                <asp:Literal runat="server" Text="<%$Resources:AIS.SharePoint.AspNetFBA,Page_UserView_FullName_Title%>" />
            </Template_Title>
            <Template_InputFormControls>
                <wssuc:InputFormControl runat="server">
                    <Template_Control>
                        <asp:Label runat="server" ID="lblFullName" />
                    </Template_Control>
                </wssuc:InputFormControl>
            </Template_InputFormControls>
        </wssuc:InputFormSection>

        <wssuc:InputFormSection runat="server" Padding="false">
            <Template_Title>
                <asp:Literal runat="server" Text="<%$Resources:AIS.SharePoint.AspNetFBA,Page_UserView_EMail_Title%>" />
            </Template_Title>
            <Template_InputFormControls>
                <wssuc:InputFormControl ID="InputFormControl2" runat="server">
                    <Template_Control>
                        <asp:Label runat="server" ID="lblEMail" />
                    </Template_Control>
                </wssuc:InputFormControl>
            </Template_InputFormControls>
        </wssuc:InputFormSection>

        <wssuc:InputFormSection ID="InputFormSection1" runat="server" Padding="false">
            <Template_Title>
                <asp:Literal ID="Literal4" runat="server" Text="<%$Resources:AIS.SharePoint.AspNetFBA,Page_UserView_LastActivityDate_Title%>" />
            </Template_Title>
            <Template_InputFormControls>
                <wssuc:InputFormControl ID="InputFormControl3" runat="server">
                    <Template_Control>
                        <asp:Label runat="server" ID="lblLastActivityDate" />
                    </Template_Control>
                </wssuc:InputFormControl>
            </Template_InputFormControls>
        </wssuc:InputFormSection>

        <wssuc:InputFormSection ID="InputFormSection2" runat="server" Padding="false">
            <Template_Title>
                <asp:Literal ID="Literal5" runat="server" Text="<%$Resources:AIS.SharePoint.AspNetFBA,Page_UserView_LastLoginDate_Title%>" />
            </Template_Title>
            <Template_InputFormControls>
                <wssuc:InputFormControl ID="InputFormControl4" runat="server">
                    <Template_Control>
                        <asp:Label runat="server" ID="lblLastLoginDate" />
                    </Template_Control>
                </wssuc:InputFormControl>
            </Template_InputFormControls>
        </wssuc:InputFormSection>

        <wssuc:InputFormSection ID="InputFormSection3" runat="server" Padding="false">
            <Template_Title>
                <asp:Literal ID="Literal6" runat="server" Text="<%$Resources:AIS.SharePoint.AspNetFBA,Page_UserView_LastPasswordChangeDate_Title%>" />
            </Template_Title>
            <Template_InputFormControls>
                <wssuc:InputFormControl ID="InputFormControl5" runat="server">
                    <Template_Control>
                        <asp:Label runat="server" ID="lblLastPasswordChangeDate" />
                    </Template_Control>
                </wssuc:InputFormControl>
            </Template_InputFormControls>
        </wssuc:InputFormSection>

        <wssuc:InputFormSection ID="InputFormSection4" runat="server" Padding="false">
            <Template_Title>
                <asp:Literal ID="Literal7" runat="server" Text="<%$Resources:AIS.SharePoint.AspNetFBA,Page_UserView_IsOnline_Title%>" />
            </Template_Title>
            <Template_InputFormControls>
                <wssuc:InputFormControl ID="InputFormControl6" runat="server">
                    <Template_Control>
                        <asp:Label runat="server" ID="lblOnline" />
                    </Template_Control>
                </wssuc:InputFormControl>
            </Template_InputFormControls>
        </wssuc:InputFormSection>

        <wssuc:InputFormSection ID="InputFormSection5" runat="server" Padding="false">
            <Template_Title>
                <asp:Literal ID="Literal8" runat="server" Text="<%$Resources:AIS.SharePoint.AspNetFBA,Page_UserView_IsLockedOut_Title%>" />
            </Template_Title>
            <Template_InputFormControls>
                <wssuc:InputFormControl ID="InputFormControl7" runat="server">
                    <Template_Control>
                        <asp:Label runat="server" ID="lblLockedOut" />
                    </Template_Control>
                </wssuc:InputFormControl>
            </Template_InputFormControls>
        </wssuc:InputFormSection>


        <wssuc:ButtonSection runat="server" ID="sectionBottomButtons" ShowStandardCancelButton="false">
            <Template_Buttons>
                <asp:Button ID="btnClose" UseSubmitBehavior="false" 
		            runat="server" 
                    OnClick="btnClose_Click"
                    CssClass="ms-ButtonHeightWidth"
		            Text="<%$Resources:AIS.SharePoint.AspNetFBA,Multiplepages_CloseButton_Text%>" />
            </Template_Buttons>
        </wssuc:ButtonSection>
    </table>
</asp:Content>

<asp:Content ID="PageTitle" ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
<asp:Literal ID="Literal2" runat="server" Text="<%$Resources:AIS.SharePoint.AspNetFBA,Page_UserView_PageTitle%>" />
</asp:Content>

<asp:Content ID="PageTitleInTitleArea" ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea" runat="server" >
<asp:Literal ID="Literal3" runat="server" Text="<%$Resources:AIS.SharePoint.AspNetFBA,Page_UserView_TitleTitle%>" />
</asp:Content>
